package com.xiaoy.core.bpm.engine.activiti.activiti5;

import javax.annotation.Resource;

import org.activiti.engine.FormService;
import org.activiti.engine.HistoryService;
import org.activiti.engine.IdentityService;
import org.activiti.engine.ManagementService;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;

import com.xiaoy.core.bpm.engine.api.WorkFlowAdapter;

public class EngineActiviti5 extends WorkFlowAdapter {

	@Resource(name="repositoryService")
	protected RepositoryService repositoryService; // 获得资源操作接口
	@Resource(name="runtimeService")
	protected RuntimeService runtimeService; // 获得运行时操作接口（大多操作流程实例）
	@Resource(name="taskService")
	protected TaskService taskService; // 获得任务操作接口
	@Resource(name="historyService")
	protected HistoryService historyService; // 获得历史查询接口
	@Resource(name="managementService")
	protected ManagementService managementService; // 获得管理接口
	@Resource(name="identityService")
	protected IdentityService identityService; // 获得身份操作接口（用户和用户组）
	@Resource(name="formService")
	protected FormService formService; // 获得表单数据绑定接口
	
}
